package com.example.demo3.Service;

import com.example.demo3.Entity.StudentInfo;
import com.example.demo3.Vo.StudentInfoClassInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentInfoService {
    List<StudentInfo> getAllStudentInfo(String name);
    PageInfo<StudentInfoClassInfo>getPageStudentInfoClassInfo(int pageNum, int pageSize);
    Integer delStuById(Integer id);
    List<StudentInfoClassInfo>getAllStudentAndClassByName(String stuName);
    Integer deleteByID(Integer stuid);
    Integer insertStudentInfo(StudentInfo studentInfo);
    Integer updateStudentInfo(StudentInfo studentInfo);
}
